<?php
/**
 * @author Hayduk Iruna haydukiryna@gmail.com
 * System 'Abiturient'
 */
require './system/functions.php';
require './system/config.php';
$params = array();
//die('---------');

foreach ($config['path']['autoload'] as $item) {
    $params[] = $item;
}
$paths = implode(PATH_SEPARATOR,$params);
set_include_path($paths);

require './system/Bootstrap.php';
$bootstrap = new Bootstrap();
$bootstrap->run($config);